﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="uc_TestReport.ascx.cs"
    Inherits="Report_UserControl_uc_TestReport" %>
<script type="text/javascript">
    $(function () {
        var objTuNgay = document.getElementById("<%=txtTuNgay.ClientID %>");
        var objDenNgay = document.getElementById("<%=txtDenNgay.ClientID %>");
        $(objTuNgay).datepicker({
            showOn: "button",
            buttonImage: "../images/calendar.gif",
            buttonImageOnly: true
        }),

             $(objDenNgay).datepicker({
                 showOn: "button",
                 buttonImage: "../images/calendar.gif",
                 buttonImageOnly: true
             });
    });
</script>
<div style="height: 850px">
    <div class="TitlePage">
        TEST REPORT</div>
            <asp:Panel runat="server" ID="Panel1">
                <div style="text-align: left; width: 100%">
                    <fieldset>
                        <table width="100%">
                            <tr>
                                <td class="tdsearch1">
                                </td>
                                <td align="left" class="tdsearch2">
                                    Từ ngày <span style="color: Red">(*)</span>:
                                </td>
                                <td align="left" class="tdsearch3">
                                    <asp:TextBox runat="server" ID="txtTuNgay" MaxLength="50" CssClass="txtBoxDate" Width="90%"></asp:TextBox>
                                </td>
                                <td class="tdsearch4">
                                </td>
                                <td align="left" class="tdsearch5">
                                    Đến ngày <span style="color: Red">(*)</span>:
                                </td>
                                <td align="left" class="tdsearch6" style="margin-right: 5px">
                                    <asp:TextBox runat="server" ID="txtDenNgay" MaxLength="50" CssClass="txtBoxDate"
                                        Width="90%"></asp:TextBox>
                                </td>
                                <td class="tdsearch7">
                                </td>
                            </tr>
                            <tr>
                                <td align="left" class="divClearBothInAdmin">
                                </td>
                            </tr>
                            <tr>
                                <td class="tdsearch1">
                                </td>
                                <td align="left" class="tdsearch2">
                                    Email <span style="color: Red">(*)</span>:
                                </td>
                                <td align="left" class="tdsearch3">
                                    <asp:TextBox runat="server" ID="txtEmail" MaxLength="50" CssClass="txtBox" Width="100%"></asp:TextBox>
                                </td>
                                <td class="tdsearch4">
                                </td>
                                <td align="left" class="tdsearch5">
                                    Email <span style="color: Red">(*)</span>:
                                </td>
                                <td align="left" class="tdsearch6">
                                    <asp:TextBox ID="txtPhone" runat="server" CssClass="txtBox" MaxLength="20" Width="100%"></asp:TextBox>
                                </td>
                                <td class="tdsearch7">
                                </td>
                            </tr>
                            <tr>
                                <td align="center" colspan="7">
                                    <asp:Label ID="lblAlerting" runat="server" CssClass="Alerting"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" colspan="7">
                                    <asp:Button CssClass="btn_admin" ID="btnSearch" runat="server" Text="Tìm kiếm" OnClick="btnSearch_Click" />
                                    &nbsp;&nbsp;
                                    <asp:Button ID="btnXuat" runat="server" CssClass="btn_admin" OnClick="btnXuat_Click"
                                        Text="Xuất Excel" />
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                </div>
            </asp:Panel>
            <div style="clear: both; height: 10px">
            </div>
            <div id="divSearchList1">
                <asp:GridView ID="grdSearchList" runat="server" AutoGenerateColumns="false" Width="100%"
                    CssClass="grid" AllowPaging="True" PageSize="50" OnPageIndexChanging="grdSearchList_PageIndexChanging">
                    <Columns>
                        <asp:TemplateField HeaderText="UserName">
                            <ItemTemplate>
                                <asp:Label ID="lblListingUserName" runat="server"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Tên nhân viên">
                            <ItemTemplate>
                                <asp:Label ID="lblListingFirstName" runat="server"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Họ nhân viên">
                            <ItemTemplate>
                                <asp:Label ID="lblListingLastName" runat="server"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Email">
                            <ItemTemplate>
                                <asp:Label ID="lblListingEmail" runat="server"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Tình trạng" ItemStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <asp:Label ID="lblListingTinhTrang" runat="server"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Bộ phận">
                            <ItemTemplate>
                                <asp:Label ID="lblListingTenBoPhan" runat="server"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <PagerStyle CssClass="pager" HorizontalAlign="Right" />
                </asp:GridView>
            </div>
</div>
